package com.ctrip.framework.apollo.core.utils;

import org.slf4j.Logger;

public class DeprecatedPropertyNotifyUtil {

    private static final Logger log = DeferredLoggerFactory.getLogger(DeprecatedPropertyNotifyUtil.class);

    public static void warn(String deprecatedProperty, String insteadProperty) {
        log.warn("[{}] is deprecated since 1.9.0 and will be removed in a future version, please use the [{}] instead.", deprecatedProperty, insteadProperty);
    }
}
